added a fail function for the geolocation so the spinner stops
finalizing spinning wheel