DEMO : move-rotate-resizer
resizer.js and resizer.css
div1
div2