adding flipping transitions to group demo