Added Swipe functionality for the calendar