prevent card from being flipped if deck is empty