Better AnimatedIcon

Better use requestAnimationFrame instead of setInterval to paint the AnimetedIcon