code: function () {
              var min = this.state.currentPage - 1,
                  max = min + 1;
              return util.constrainRange(min, max, this.numPages);
          }
docs: Calculates the current range of pages that are visible
  @returns {Object} Range object with min and max values