         return retval
     }
     
+    func mmm() {
+        //        let diff = abs(theTargetContentOffset - contentOffset)
+        //        let interval = calendarLayout.sizeOfContentForSection(targetSection)
+        //        let diffResistance = diff * resistance
+        //        if scrollDirection == .horizontal {
+        //            calculatedOffSet = recalculateOffset(diffResistance, interval)
+        //        } else {
+        //            if isScrollingForward() {
+        //                calculatedOffSet = theTargetContentOffset - diffResistance
+        //            } else {
+        //                calculatedOffSet = theTargetContentOffset + diffResistance
+        //            }
+        //            let stopSection = isScrollingForward() ?
+        //                calendarLayout.sectionFrom(calculatedOffSet) :
+        //                calendarLayout.sectionFrom(calculatedOffSet) - 1
+        //            calculatedOffSet = stopSection < 0 ?
+        //                0 : calendarLayout.sectionSize[stopSection]
+        //        }
+        //        setTargetContentOffset(calculatedOffSet)
+    }
+    
     func stopVerticalNonStopAtEachSection(_ scrollView: UIScrollView, with scrollData: ScrollData) -> CGFloat {
         var retval: CGFloat = 0
         let calendarLayout = calendarViewLayout

//            return
//        }
        
        if directionVelocity == 0.0 {
            decelerationRate = UIScrollViewDecelerationRateFast
        }
        
        if didEndScollCount > 0, directionVelocity == 0 {
            switch scrollingMode {
            case .nonStopToSection, .none:

        
        didEndScollCount += 1
        
        if directionVelocity == 0.0 {
            decelerationRate = UIScrollViewDecelerationRateFast
        }
        
        
        let isScrollingForward = {
