         layer.shadowOffset = CGSizeMake(3.0, 4.0)
         layer.shadowColor = UIColor.grayColor().CGColor
         self.rightThumbView.layer.addSublayer(layer)
+        self.rightThumbView.userInteractionEnabled = false
         
         self.orderSubviews()
         

    func setRightThumbImage(rightThumbImage:UIImage)
    {
        self.rightThumbImage = rightThumbImage
        self.rightThumbView.removeGestureRecognizer(self.rightPanGestureRecognizer!)
        self.rightThumbView.removeFromSuperview()
        self.rightThumbView = UIImageView(image: self.rightThumbImage)
        self.rightThumbView.userInteractionEnabled = true
        self.rightThumbView.addGestureRecognizer(self.rightPanGestureRecognizer!)
        self.addSubview(self.rightThumbView)
        self.orderSubviews()
        self.setNeedsLayout()

    
    var activeBarImage:UIImage = UIImage()
    
    var previousLocation : CGPoint!
    
    enum ElementTracked
    {
        case None
        case LeftThumb
        case MiddleThumb
        case RightThumb
    }
    var trackedElement = ElementTracked.None
    
    var movingLeftThumb : Bool = false
    var movingMiddleThumb : Bool = false
    var movingRightThumb : Bool = false
    
    //State
    @IBInspectable var minimumValue:Float = 0.0
    {
