code: function (value) {
        var range = this.props.max - this.props.min;
        if (range === 0) {
          return 0;
        }
        var ratio = (value - this.props.min) / range;
        return ratio * this.state.upperBound;
      }
docs: calculates the offset of a handle in pixels based on its value.