more elegant hide/show of search button in bar