refine the math.rounding function for css animated steps...