add drag, resize, edit and delete functionality