How to hide layout blocks in Sparkle without creating white space?

Hello, I am using Sparkle for Mac to create a website. I have added 4 layout blocks and I have made the first one visible and the other 3 initially hidden. Then, by clicking on the forward arrow button, the second one is displayed and the previous one is automatically hidden, and so on. However, I have noticed that in the preview, at the end of the web page, there is some empty white space, so the page is longer than it should be. I think this is because the layout blocks occupy space even if they are hidden. I would like to avoid this because it is not aesthetically pleasing. Is there a way to hide the layout blocks without affecting the page length? Thank you for your help.

Hi,
maybe this helps: https://community.sparkleapp.com/t/white-space-at-the-bottom-of-page/4761