made header shorter when scrolling