sleeps 1 for the drag and drop to take effect