draggable and resizable working

made a nice demo app!