code: function deltaModulo(arg, increment) {
    arg.idx = (arg.values.length + arg.idx + increment) % arg.values.length;
    return true;
  }
docs: Helper function used to handle next/previous when the loop function is 'modulo'