Added scrolling listeners to javascript, so navbar adjusts based on user position