Trim the footer space when scrolling