 			@_nativeScrollCaptureLayer.on("mousewheel", @_onMouseWheelCaptureLayer)
 			@_nativeScrollCaptureLayer.on("scroll", @_onScrollCaptureLayer)
 			@_nativeScrollCaptureLayer.on(Events.TouchStart, @content.draggable._touchStart)
+
+			# TODO: I sincerely don't know what to do here. By layering the capturing scroll view
+			# on top of the rest, I don't get any click events below. I can move the scroll view to
+			# the back, but then I don't get scroll events.
+
+			# What really I need is to have _nativeScrollCaptureLayer capture only mousewheel and scroll
+			# events, but nothing else.
 			
 		@_updateNativeScrollCaptureLayer()
 

		get: -> @_contentInset
		set: (@_contentInset) ->
			@_updateContent()

	scrollToPoint: (point, animate=true, animationOptions={curve:"spring(500,50,0)"}) ->
		
		point = @_pointInConstraints(point)

		if animate
			point.x = -point.x if point.x
			point.y = -point.y if point.y
			animationOptions.properties = point
			@content.animate(animationOptions)
		else
			@point = point

	scrollToLayer: (contentLayer, animate=true, animationOptions={curve:"spring(500,50,0)"}) ->
		
		if contentLayer.superLayer isnt @content
			throw Error("This layer is not in the scroll component")

		# TODO: For now we can only scroll to top left. We should make that better.
		@scrollToPoint(contentLayer.point, animate, animationOptions)

	_pointInConstraints: (point) ->



		super

		@_contentInset = {top:0, right:0, bottom:0, left:0}
		@scrollWheelSpeedMultiplier = .33

		# Set up content layer
		@content = new Layer 
			width: @width
			height: @height
