Toggle between moving and rotating
Improve cursor indication when resizing
Improve api