added flip, flipInY, flipOutY and hinge animation