flipped y-axis to new coordinate system