improve timeout for animation using requestAnimationFrame calls instead
of setTimeout
Merge remote-tracking branch 'origin/master'