smooth animation, and no more lag in 2D mode.