Trying to optimize animated scroll.