code: function () {
                                      if (slot) {
                                          reinsertSlot(slot, slotNext, !firstInSequence, !lastInSequence);
                                          updateNewIndices(slot, 1);
                                          sendInsertedNotification(slot);
                                      }
                                  }
docs: undo