Added pan gesture to view to enalbe sliding swipe-right feature