improve drag and drop demo