adds animation for posts when created