fix flipped screen