change style of search box when search is triggered