Added an option for animations to pause indefinitely after they complete their cycle.