wrapping search in a div, externalizing the search box