code: function moveSequenceBefore(slotNext, slotFirst, slotLast) {
                      slotFirst.prev.next = slotLast.next;
                      slotLast.next.prev = slotFirst.prev;
  
                      slotFirst.prev = slotNext.prev;
                      slotLast.next = slotNext;
  
                      slotFirst.prev.next = slotFirst;
                      slotNext.prev = slotLast;
  
                      return true;
                  }
docs: Does a little careful surgery to the slot sequence from slotFirst to slotLast before slotNext