-added animated flipping.