keeps search bar active in nav bar if in focus and scroll up to top