Correct forward animation for endless loop and loop with limited amount of cycles.