rewrote cookies to localstorage. adjusted dragging clone style