 
 extension MenuBar.ContainerView : UIScrollViewDelegate {
 
-    public func scrollViewDidScroll(scrollView: UIScrollView) {
-        if dragging && !animating {
-            render()
-        }
-    }
-
     public func scrollViewDidEndDecelerating(scrollView: UIScrollView) {
         userInteractionDidEnd()
     }


        weak var bar: MenuBar?
        var visibledCells = [MenuCell]()
        var animating = false

        override init(frame: CGRect) {
            super.init(frame: frame)


    func scrollOffsetTo(offset: CGPoint, animated: Bool) {
        let duration = animated ? bar!.durationForAnimation : 0
        UIView.animateWithDuration(duration, animations: {
            self.contentOffset = offset
            }, completion: { _ in
                self.updateSubviews()
        })
    }
