Help with hover interaction and infinite scroll text

Hi everyone, i am working on my site and i need to make this effect for my gallery:

I have seen the Infinite auto scroll video in the expert tip section ( this video ) and i just wonder if this effect can be applied in a hover interaction and in a gallery.
I have very limited experience with Javascript so i need a very detailed explanation from an expert
thanks in advance to anyone who can help me :slightly_smiling_face:

If you get the infinite scroll to work then itโ€™s fairly simple. Just initially hide the container holding the scroll effect. Then put this into the code area (Iโ€™ll be calling the Image #hoverImage and the scroll container #scrollContainer

$w.onReady(function () {