Adding explanation and code for drag-drop example