For this assignment, the header now slides in or out based on scroll events