Carousel loop counter not working

I created a two slide carousel; for simplicity call them before and after. I want before to appear when scrolled down to and autostart and in 1000 ms advance to after and play for only one loop.

The loop function in animation does not recognize the number of loops selected and continues without stopping. Selecting any number does not change the number of loops played, it just continues.

What am I missing

Thanks in advance.

Rich