div copied on resize and drag