     
     private func moveHandleToPosition(position:Double, animated:Bool = false) {
         if step == 0 { return }
-        
+
         var goPosition = position
         
         if position >= max { goPosition = max }

        })
        return true
    }
    
    override func continueTrackingWithTouch(touch: UITouch, withEvent event: UIEvent?) -> Bool {
        super.continueTrackingWithTouch(touch, withEvent: event)
        let _ = handlePosition
        let point = touch.locationInView(sliderView)
        moveHandleToPoint(point)
        
        return true
    }
    
    override func endTrackingWithTouch(touch: UITouch?, withEvent event: UIEvent?) {
        super.endTrackingWithTouch(touch, withEvent: event)
        
        let endPosition = handlePosition
        handlePosition = round(endPosition)
        handleLabel.text = textForPosition(handlePosition)
        
        UIView.animateWithDuration(0.3, animations: {
            self.currentPosLabel.alpha = 0.0
        })
    }
    
    override func cancelTrackingWithEvent(event: UIEvent?) {
        super.cancelTrackingWithEvent(event)
        print("cancel tracking")

    internal var sliderBackgroundView: UIView!
    internal var sliderFillView: UIView!
    internal var handleView: UIView!
    internal var currentPosTriangle: TriangleView!
    
    internal var titleLabel: UILabel!
    internal var handleLabel: UILabel!
