function percentToValue(percent) {
      var adjustedPercent = invert ? (1 - percent) : percent;
      return (min + adjustedPercent * (max - min));
    }
Convert percentage offset on slide to equivalent model value
@param percent
@returns {*}