I have 4 slides and they work great in Safari and Firefox on MAC.
When I run it in Chrome the main image displays where it should but the remaining images rotate to the left bottom below the main image.
Just played around with the width and height parameters. Not all of my images are exactly the same size.
Got it to work properly in Chrome by adjusting height and width.