setInterval for getCurrentPosition()