copy style of dragged element