Just noticed something went wrong with my video recorder making the playback very fast. Hopefully you can slow down the playback or pause to see everything that happens. Let me know if you need any clarification or more info.
I tried that code and at first it did not work, but then I realized I had another function in my custom JS section that was causing an issue. (it was there from when I was trying to fix another issue but was unsuccessful, and I did not remove the code)
After removing that unneeded function it works as intended now.
Your help is very much appreciated. You are the best!