draggable and saving mecanism