Added 'transitionedend' event to animation handler