percentageFromPage(pg) {
    var percentage = (pg - this.firstPage) / this.totalPages;
    return Math.round(percentage * 1000) / 1000;
  }
Returns a value between 0 - 1 corresponding to the location of a page
@param  {number} pg the page
@return {number} percentage