instant search: support using back/forward/refresh (#4688)
instant search: support using back/forward/refresh (#4688)

DRY and simplify the search show/hide code, so we can call it when the history state changes

https://github.com/mozilla/sumo-project/issues/776
mozilla/kitsune,mozilla/kitsune,mozilla/kitsune,mozilla/kitsune