added flipping effects