fixed close the searchbox when clicked anywhere