add swipe gesture sample