Hello Carl,
I can create a codepen demo, but the problem is that it works perfectly:
This is how my site it should works, but the "first button" doesn't. There is no error in the console log. Maybe I'm not using well fromTo/to methods. I don't know... ^^'
If you wanna check my original javascript, you can see it doing: right button > inspect element > sources > main.js
Thanks for your time! ?