isValidIndexSlide_(i) {
    return typeof i === 'number' && i >= 0 && i < this.maxSlide_;
  }
Check if the given number is a valid index to go to.
@param {number} i The index to check.
@return {boolean} Whether you can move to that slide or not.
@private