Enhanced draggable and droppable elements in template