Makes panning happen at the right rate for different zoom levels