Adds a way of hiding the searchbar