     public func scrollViewDidEndScrollingAnimation(scrollView: UIScrollView) {
         
         if scrollView === self.scrollView {
+            scrolling = false
             endMoving()
             jumpSwap = nil
-            scrolling = false
         }
     }
     

    func swipeView(swipeView: SDSwipeView, viewForItemInIndex index: Int) -> UIView?
    
    func swipeView(swipeView: SDSwipeView, didDisplayingView view: UIView)
}

public extension SDSwipeViewDelegate {
    
    func swipeView(swipeView: SDSwipeView, didDisplayingView view: UIView) {
        // do nothing
    }
}


                if !scrolling && !scrollView.decelerating {
                    jumpSwap = nil
                    scrolling = true
                    _layoutSubviews()
                    if left == nil {
                        scrollView.scrollRectToVisible(CGRect(x: scrollView.frame.width, y: 0, width: scrollView.frame.width, height: scrollView.frame.height), animated: true)
                    } else {
