switched up some css and javascript in navbar