Add class .active when animation is finished.