Add transition to card movement