Adding height animation when opening a card