add swipe ui