adjusted the card flips