Fix search box over text

If header items are too long `#search-form-wrap` would over text.
It should be hidden when it wasn't be triggered/shown.