 			trackLayer.setNeedsDisplay()
 		}
 	}
-
-	/**
-		The color used to tint the part of the track which is outside the range of lowerValue and upperValue.
-		
-		The default color is lightGrayColor.
-	*/
-
+	
+	/**
+	The color used to tint the part of the track which is outside the range of lowerValue and upperValue.
+	
+	The default color is lightGrayColor.
+	*/
+	
 	@IBInspectable public var trackTintColor: UIColor = RangeSliderTrackLayer.defaultTintColor {
 		didSet {
 			trackLayer.tintColor = trackTintColor
 			trackLayer.setNeedsDisplay()
 		}
 	}
-
-	/**
-		The color used to tint the part of the track which is inside the range of lowerValue and upperValue.
-
-		The default color is #007AFF (rgba = 0, 122, 255, 1)
-	*/
-
+	
+	/**
+	The color used to tint the part of the track which is inside the range of lowerValue and upperValue.
+	
+	The default color is #007AFF (rgba = 0, 122, 255, 1)
+	*/
+	
 	@IBInspectable public var trackHighlightTintColor: UIColor = RangeSliderTrackLayer.defaultHighlightTintColor {
 		didSet {
 			trackLayer.highlightTintColor = trackHighlightTintColor
 			trackLayer.setNeedsDisplay()
 		}
 	}
-
-	/**
-		This property is used to control the curvature of ends of the track. 
-		
-		The property can have value from 0 to 1.
-	*/
-
+	
+	/**
+	This property is used to control the curvature of ends of the track.
+	
+	The property can have value from 0 to 1.
+	*/
+	
 	@IBInspectable public var trackCurvaceousness: CGFloat = 1.0 {
 		didSet {
 			if trackCurvaceousness < 0.0 {
 				trackCurvaceousness = 0.0
 			}
-
+			
 			if trackCurvaceousness > 1.0 {
 				trackCurvaceousness = 1.0
 			}

			upperThumbLayer.setNeedsDisplay()
		}
	}

	/**
		Setting this propery adds shadow to both of the thumbs.
	*/

	@IBInspectable public var shadowEnabled: Bool = true {
		didSet {
			if shadowEnabled {

			updateLayerFrames()
		}
	}
	
	private var upperValue: Float = 1.0 {
		didSet {
			updateLayerFrames()
		}
	}
	
	private var trackFrame: CGRect = CGRect.zero {
		didSet {
			if CGRectEqualToRect(oldValue, trackFrame) {
