smoother animations using browser built-in functions and jumping!