fixed toggle for 3 cards bug