     fileprivate var visibleCellsFromLocation = [IndexLocation: EndlessPageCell]()
     
     // Animation
-//    fileprivate var offsetChangeAnimation:UIViewPropertyAnimator?
     fileprivate var offsetChangeAnimation:Interpolate?
     
     fileprivate var hasDoneFirstReload = false

                        , apply: { [weak self] (pos) in
                            
                            self?.contentOffset = pos
                        })
                    offsetChangeAnimation?.animate(1.0, duration: CGFloat(animationTime), completion: { [weak self] in
                        
                        if let strongSelf = self {
                            strongSelf.directionLockedTo = .Both
                            strongSelf.delegate?.endlessPageViewDidEndDecelerating(strongSelf)
                        }
                        })
                    
                    /*
                    offsetChangeAnimation = UIViewPropertyAnimator(duration: animationTime
                        , curve: .easeOut
                        , animations: { [weak self] in
                            if let strongSelf = self {
                                strongSelf.contentOffset = slideToPoint
//                                strongSelf.updateBounds()
//                                strongSelf.updateCells()
                            }
                        })
                    
                    offsetChangeAnimation?.addCompletion { [weak self] (position) in
                        if let strongSelf = self {
                            strongSelf.directionLockedTo = .Both
                            strongSelf.delegate?.endlessPageViewDidEndDecelerating(strongSelf)
                        }
                    }
                    offsetChangeAnimation?.startAnimation()
                    */
                }
            }
        }
        
        
    }
    
    // MARK: Public getters

                    let animationTime:TimeInterval = 0.2
                    
                    runCompletion = true
                    
                    offsetChangeAnimation = Interpolate(from: contentOffset
                        , to: pagePoint
