i have 

```
<style>
.container { position:relative; width:600px; height:400px; overflow:hidden; }

.div-inner { position:absolute; top:0px; left:0px; width:7200px; cursor:e-resize; }

</style>

```

$(".div-inner").draggable({ axis: "x" });

```
<div class="container">
     <div class="div-inner">Drag me!</div>
     </div>

```

i want to constrain the movement to the left and to the right of 7200 pixels width of the div inner.

if it was a scrollable element i would let it scroll from left:0px; to left: (7200-600)px;

How can i do it with draggable?

Thank you a lot!