Use requestAnimationFrame (helpful?) and keep arrow keys from moving window.