Hello! I have realised that it happens only when the header menu is not set on fixed during the scroll of the page. If I get the fixed header, the extra space is absent.