making hide search bar function