Made location listing to hide when clicked outside