Swipe for slider and calendar