 		isMobile: 'ontouchstart' of window
 
 		delay: (d, f) -> setTimeout f, d
+
+		throttle: (fun, d, ctx) ->
+			tmout = null
+			-> 
+				if tmout
+					clearTimeout tmout
+				args = (k for k in arguments)
+				tmout = setTimeout -> 
+					fun?.apply? (ctx ? @), args
+				, d
 
 		addClass: (e, c) -> e?.classList?.add c
 

						@slider.dragging = false
						if @slider.options.step?
							@slider.position @slider.position()




						, 
							transition: false
							step: false
							changeEvent: false

				window.addEventListener _.endEvent, (e) =>
					if start?
