I made an event for when the user scrolls down the page, the header bar will be hidden, and when scrolling up the header will be displayed, and when reaching the top the hea