Close panel when geolocating