How to overlap or change spacing of widgets when adding them to scrollbox?

Hi guys. I’m currently creating a vertical 2D recipe scrollbox that contains recipe folders and I’m trying to create like a “filing cabinet” effect where the tab or the top portion of the recipe folder could overlap one another. I have come up with my logic so far in the following image but the scrollbox view changes size or moves out of view as I scroll up and down. If you have any tips or suggestions, please let me know. Thanks.