Added swipe gesture support