In a project I\'m coding, I am using window.requestAnimationFrame in order to make an animation repeat each time a button is clicked. I\'m very confused though because after I r