hide the search widget if it isn't wanted