functional persistant search bar