Change transition animationend boolean