fixed card flipping