add gesture to page view