sync in flipping cards