add swipe gesture support