Add swipe functionality to the player