flipped image to align with coordinates