     public func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
 
         if isJumping || isLayoutingSubviews {
+            if let toIndex = jumpingToIndex {
+                delegate?.swipeMenuView(self, didChangeIndexFrom: currentIndex, to: toIndex)
+                currentIndex = toIndex
+                jumpingToIndex = nil
+            }
             isJumping = false
             isLayoutingSubviews = false
             return


    /// The index of the front page in `SwipeMenuView` (read only).
    open private(set) var currentIndex: Int = 0

    public init(frame: CGRect, options: SwipeMenuViewOptions? = nil) {



        tabView?.update(toIndex)
        contentScrollView?.update(toIndex)
        if !isJumping {
            // delay setting currentIndex until end scroll when jumping
            currentIndex = toIndex
        }

        if !isJumping && !isLayoutingSubviews {
            delegate?.swipeMenuView(self, didChangeIndexFrom: fromIndex, to: toIndex)
        }
    }
