Se usi lo startdrag, imponendo i limiti in alto e in basso:

codice:
startDrag(target, lockcenter, left, top, right, bottom);