Add a button to the search bar to close or open the search results.