adjust the height of the main header after the user scrolls