Ok, so I added a bit of javascript to improve the behaviour which eliminates the problem.
For anyone curious, I am basically comparing the selected variation image name with those in the thumbnails slider and finding a match. I then animate the main photo slider to the correct position, and it works great! This method assumes that the variation images are present in the gallery, but that’s what I’m doing anyway.
Thanks!
Kathleen