Added swipe detect