       # the initial position of @el
     @_state.elPosition = @$el.position()
     @_state.elOffset = @$el.offset()
-    @_state.bounds =
-        ox: (box.width - w) / 2
-        oy: (box.height - h) / 2
-        x: @options.workspace.width() - (box.width / 2 + w / 2)
-        y: @options.workspace.height() - (box.height / 2 + h / 2)
+    @_state.positionBounds =
+      ox: (box.width - w) / 2
+      oy: (box.height - h) / 2
+      x: @options.workspace.width() - (box.width / 2 + w / 2)
+      y: @options.workspace.height() - (box.height / 2 + h / 2)
+    @_state.sizeBounds =
+      wMin: 20
+      wMaw: Infinity
+      hMin: 20
+      hMax: Infinity
     @_state.elDimension =
       width: w
       height: h

    mN =
      x : cN.x - cM.x
      y : cN.y - cM.y

    #console.log("norme MN")
    #console.log(V.norm(mN))

    # preparing and changing css
    @$el.css

      top: vector.y + @_state.elPosition.top

    ###
    bounds = @_state.positionBounds
    if pos.left < bounds.ox
      pos.left = bounds.ox
    else if pos.left > bounds.x
