message: Optimize rubber function
  Removed extra check the sign of the number and optional cast to absolute value
  closes: VKUI/issues/434
diff: @@ -38,8 +38,8 @@ function getSupportedEvents(): Array<string> {
  function rubber(offset: number, dimension: number, resistanceRate: number, isAndroid: boolean): number {
  if (isAndroid || offset < 0) return offset;
  - const result = (resistanceRate * Math.abs(offset) * dimension) / (dimension + resistanceRate * Math.abs(offset));
  - return offset < 0 ? -result : result;
  + const offsettedResistance = offset * resistanceRate;
  + return offsettedResistance * dimension / (offsettedResistance + dimension);
  }
  export { getSupportedEvents, coordX, coordY, touchEnabled, rubber };
  