add swipe component