Refactored item icon dragging for item transfer