Hi,
A quick solution may be to swap the plug for the X and y axis motors on the controller, assuming that the leadscrews are the same.
Alternatively, go into Maxh3 and swap the pin assignments for the two axis. Make the long axis X and the short axis Y
Cheers,
Peter