reposition and resize the search box