add draggable and droppable events