Swap coordinates.