Fix quirks with show/hide on the search bar

This is a small consistency improvement which ensures that whenever the
search is cleared the input becomes invisible. Previously, this only
worked correctly on the sidebar. Now, it works everywhere, including
when navigating using the back button to get to the unfiltered stream.