Remove animation property after end or in animation so the animation does not get 'replayed' when the element gets rerendered