         velocityM1 = velocity
         velocity = scrollView.value(forKey: "_verticalVelocity") as? CGFloat ?? 0
         nestedScrollView.isScrollEnabled = isNestedScrollEnabled
+        outerScrollView.isScrollEnabled = isOuterEnable
         if scrollView == outerScrollView {
             if scrollView.contentOffset.y > 50 {
                 if outerScrollView.bounces {

        outerScrollView.backgroundColor = .systemRed
        outerScrollView.contentInsetAdjustmentBehavior = .never
        outerScrollView.delegate = self
        return outerScrollView
    }()


    }

    func nestedTransferVelocity(_ velocity: CGFloat) {
//        if velocity > 0.0 {
//            return
//        }
        self.nestedDeceleration?.isPaused = true
        let startTime = CACurrentMediaTime()
        let scrollView = outerScrollView
