Modify animation rules

Removed the sub id of the p tag for the animation.