 			return Utils.modulate(value, [0, @height], [@min, @max], true)
 		
 	animateToValue: (value, animationOptions={curve:"spring(300,25,0)"}) ->
-		animationOptions.properties = {x:@pointForValue(value)}
-		@knob.animate(animationOptions)+		if @width > @height
+			animationOptions.properties = {x: @pointForValue(value)}
+		else 
+			animationOptions.properties = {y: @pointForValue(value)}
+
+		@knob.animate(animationOptions)

		@knobSize = options.knobSize or 30
		@knob.superLayer = @fill.superLayer = @

		@fill.height = @height
		@fill.borderRadius = @borderRadius

		@knob.draggable.enabled = true

		set: (value) -> 
			if @width > @height 
				@knob.midX = @pointForValue(value)
				@_updateFill()
			else 
				@knob.midY = @pointForValue(value)
				@_updateFill()
			

	_updateValue: =>
		@emit("change:value", @value)
