improving scrolling navbar on mobile devices