Emulates the CSS cubic-bezier function to interpolate transition values to trigger intermediate scroll events.