Fix card flipping bug when working with pages
Merge pull request #458 from G5/card_flip_redux

Fix card flipping bug when working with pages