added moveToGPSLocation function