 
 open class PullToRefreshView: UIView {
     
-    fileprivate var scrollViewBouncesDefaultValue: Bool = false
-    fileprivate var scrollViewInsetsDefaultValue: UIEdgeInsets = UIEdgeInsets.zero
+    private var scrollViewBouncesDefaultValue: Bool = false
+    private var scrollViewInsetsDefaultValue: UIEdgeInsets = UIEdgeInsets.zero
 
-    fileprivate var animator: PullToRefreshViewDelegate
-    fileprivate var action: (() -> ()) = {}
+    private var animator: PullToRefreshViewDelegate
+    private var action: (() -> ()) = {}
 
-    fileprivate var previousOffset: CGFloat = 0
+    private var previousOffset: CGFloat = 0
 
     internal var loading: Bool = false {
         

        })
    }
    
    fileprivate func stopAnimating() {
        self.animator.pullToRefreshAnimationDidEnd(self)
        let scrollView = superview as! UIScrollView
        scrollView.bounces = self.scrollViewBouncesDefaultValue

    
    //MARK: PullToRefreshView methods

    private func startAnimating() {
        let scrollView = superview as! UIScrollView
        var insets = scrollView.contentInset
        insets.top += self.frame.size.height
