This button creates a box (div) that is draggable and resizable.
There is a weird behavior while resizing up or left because of JSFiddle.
This example refers to the CodeReview question here.