Refactor; hide/show searchbar