adds functionality to geolocate button, adds constant geolocating