window: Show/hide search bar when search button is toggled