Swipe to pan the view