You've got several logical issues. As I said, my code was very much pseudo-code. Fixing the logic issues you should get something like this: See the Pen NWRRKQg?editors=1000 by GreenSock (@GreenSock) on CodePen   With that being said, I don't really understand what you're trying to do with the "hidden images". It'd probably make more sense to absolutely position the images because the calculations are harder if you don't. There are a lot of examples
    • Thanks
    1