After resizing the page, the value passed to .to is not updated and the image is shifted further than required
See the Pen BawaWZN by Oleksandr07 (@Oleksandr07) on CodePen
Hey there,
you'll want to use functional values alongside the invalidateOnRefresh to make sure ST does get the new value for the window's width on refresh.
// change this
x: -$( window ).innerWidth()
// to this
x: () => -$( window ).innerWidth()
See the Pen oNGRrYj by akapowl (@akapowl) on CodePen