adds check to make sure position is not changed on pinch zoom