added styling for flipping