Make the search input field resize correctly.