Working with the Swipe functionality