 			y: -constraintsFrame.height + @height - @_contentInset.bottom
 			width: 	constraintsFrame.width  + constraintsFrame.width  - @width + @_contentInset.left + @_contentInset.right
 			height: constraintsFrame.height + constraintsFrame.height - @height + @_contentInset.top + @_contentInset.bottom
-		# constraintsFrame = Utils.frameInset(constraintsFrame, @_contentInset)
-
-		# for layer in @content.subLayers
-		# 	layer.off
-
-		# if info?.added
-		# 	for layer in info.added
-		# 		layer.on("change:width", @_updateContent)
-		# 		layer.on("change:height", @_updateContent)
-		# if info?.removed
-		# 	for layer in info.removed
-		# 		layer.off("change:width", @_updateContent)
-		# 		layer.off("change:height", @_updateContent)
-
-
 
 		@content.draggable.constraints = constraintsFrame
 


	_updateContent: (info) =>

		contentFrame = @calculateContentSize()
		contentFrame.x += @_contentInset.left
		contentFrame.y += @_contentInset.top

			rect.width = @width
			rect.height = @height
			rect
		set: (value) ->
			@scrollPoint = value

	@define "contentInset",
		get: ->
