fix transitions and height animation for the "text" and "video" content types