added delete button in edit mode; new library for dragging