changed the way the search box renders for mobile