getCoords pushing coords to nav bar onclick.