Hide non-search menu buttons when search is clicked