got the search box resizing smoothly and properly in the header