add swipe effect