fix bug with activating search field on narrow view