Change condition after which animation is initalized.