connected drag drop to localstorage