added the character in the parent element while animation is runnning