trying to implement hiding navbar on scroll