Added swipe gesture for images