Hiding an element leaves a gap in the page

I am using a Toggle field to control the visibility of a DIv in a page, when I make the element in the page non-visible the space this div occupies stays, which generates a gap on the page. Any ideas how can hide the Div and at the same time close the gap?


Here is my public share link: LINK
(how to access public share link)