Added swipe event for image