Remove unused y-axis swapping code.