added draggable with offset stored in db