code: function getValueInPx(value, maxScroll) {
    const floatValue = parseFloat(value);
    const unit = value.match(START_END_DURATION_REGEX)[2] || null;
    const vh = window.innerHeight / 100;
    let valueInPx = value;
  
    switch (unit) {
      case 'vh':
        valueInPx = vh * floatValue;
        break;
      case '%':
        valueInPx = maxScroll * floatValue / 100;
        break;
      default:
        valueInPx = floatValue;
    }
  
    return valueInPx;
  }
docs: Takes string value (in px/vh/%) and returns number