Open devtools and see the flood of message “Animation loop completed” after you click the “Reverse” button I added.
Note there also appears to be some other weirdness with the animation - I would expect negating the speedRatio to simply run the animation backwards in a loop, however it seems like all kinds of other things are happening?