removed swipe, fixed api