code: function (e) {
          var v = e.newValue,rpp,state;
          if (e.prevValue !== v) {
              if (v !== Paginator.VALUE_UNLIMITED) {
                  rpp = this.get('rowsPerPage');
  
                  if (rpp && this.get('recordOffset') >= v) {
                      state = this.getState({
                          totalRecords : e.prevValue,
                          recordOffset : this.get('recordOffset')
                      });
  
                      this.set('recordOffset', state.before.recordOffset);
                      this._firePageChange(state);
                  }
              }
          }
      }
docs: Sets recordOffset to the starting index of the previous page when
  totalRecords is reduced below the current recordOffset.
  @method _syncRecordOffset
  @param e {Event} totalRecordsChange event
  @protected