add a swipe gesture sample