Linear bars slide video transition effect


Hi. I am a beginner in After Effects. I want to create a linear slide video transition with horizontal rectangular bars somewhat like the preset under ‘Effect > Transition > CC Line Sweep’ but more customized. So the bars should slide 1 following the next and the 2nd video should get revealed eventually as the bars vanishes at the right or left. That means, as the 1st top bar slides away in the 1st video, only that part of the 2nd video should be visible. With the 2nd bar sliding, the corresponding part of 2nd video should be visible and so on. How to achieve this?