Added swipe gestures support.