Fixed some of the card transition functionality.