Help with image flicker

Hello everyone :smile:

I made an image gallery for codepen’s ‘scroll’ challenge here: https://codepen.io/lyncredulous/pen/qBRyxKz?editors=0010

While scrolling with the mouse wheel, the gallery works as I envisioned, however, when clicking the buttons to the right side, sometimes (but not always) it flashes the first image before scrolling through and it’s very distracting. I’m hoping someone would be able to take a look and see if they know why this is happening because I just can’t figure it out!

I believe it is most likely an issue with the JQuery, as I’m still very much a beginner with programming, but I apologise if the issue lies elsewhere :sweat_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.