add transition to posts