     
     private func textForPosition(position:Double) -> String {
         return String(format: "%0.0f", arguments: [position])
+
+class TriangleView : UIView {
+    
+    required init?(coder aDecoder: NSCoder) {
+        super.init(coder: aDecoder)
+    }
+    
+    override init(frame: CGRect) {
+        super.init(frame: frame)
+    }
+    
+    override func drawRect(rect: CGRect) {
+        
+        let ctx : CGContextRef = UIGraphicsGetCurrentContext()!
+        
+        CGContextBeginPath(ctx)
+        CGContextMoveToPoint(ctx, CGRectGetMinX(rect), CGRectGetMaxY(rect)/2.0)
+        CGContextAddLineToPoint(ctx, CGRectGetMaxX(rect), CGRectGetMinY(rect))
+        CGContextAddLineToPoint(ctx, CGRectGetMaxX(rect), CGRectGetMaxY(rect))
+        CGContextClosePath(ctx)
+        
+        CGContextSetFillColorWithColor(ctx, tintColor.CGColor)
+        CGContextFillPath(ctx)
     }
 }

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

        handleLabel.font = UIFont.systemFontOfSize(13, weight: UIFontWeightBold)
        currentPosLabel.backgroundColor = tintColor
        currentPosLabel.alpha = 0.0
        
        currentPosTriangle.frame = CGRectMake(-10, 10, currentPosLabel.frame.height-20, currentPosLabel.frame.height-20)
        currentPosTriangle.tintColor = tintColor
        currentPosTriangle.backgroundColor = UIColor.clearColor()
    }

    override func beginTrackingWithTouch(touch: UITouch, withEvent event: UIEvent?) -> Bool {
        super.beginTrackingWithTouch(touch, withEvent: event)
        
