I am trying to make a scroll-triggered function which slides elements in from one side based on the scroll position. I would like it to run on all elements with 'my-class', but currently my code seems to think 'this' is the window, not each 'my-class' element. Is there something wrong with the way I am calling the function? How can I get each element to run the function?I am trying to make a scroll-triggered function