When there is no search term click on space between search bar and search should resign