Basic JS to handle nav bar scroll