fixed some of the flipping styles