 		SLOWDOWN_FACTOR = 250		
 
 		buttonDown : false
+		
+		# used for mopuse locking in fullscreen mode
+		locked : false
 
 		lastPosition : 
 			x : null

			@buttonDown = false 
			$(@target).css("cursor", "auto")

		attachEventHandler : (type, func) ->
			if @target.addEventListener
				@target.addEventListener type, func, false

			@attachEventHandler "mousemove", @mouseMoved
			@attachEventHandler "mouseup", @mouseUp
			@attachEventHandler "mousedown", @mouseDown
			@attachEventHandler "webkitfullscreenchange", @lockMouse
		
		###
		#Binds a function as callback when X-Position was changed
