prevented next slide until all animations are done