add jquery to collapse navbar when scrolling