         }
     }
 
-    private func moveScrollViewView(x: CGFloat, duration: TimeInterval) {
+    private func moveScrollView(x: CGFloat, duration: TimeInterval) {
 
         let direction = behaviorDirection(x: x)
         reusedView(direction: direction)


        super.layoutSubviews()
        
        scrollView.center = CGPoint(x: bounds.width/2, y: bounds.height/2)
    }

    public override var intrinsicContentSize: CGSize {

        }
    }

    public var pageIndicatorTintColor: UIColor = UIColor(red: 0.86, green: 0.86, blue: 0.86, alpha: 1.00) {
        didSet {
            updateDotColor(currentPage: currentPage)
        }
    }

    public var currentPageIndicatorTintColor: UIColor = UIColor(red: 0.32, green: 0.59, blue: 0.91, alpha: 1.00) {
        didSet {
            updateDotColor(currentPage: currentPage)
        }
