resize header based on scroll position