hides search navigation if there was no search