fixed long-standing bugs of selection region and selection of columns and rows due to the fact that some data was shown upside down
the default ydir now is reverse. we need to think of how to make it both pleasant and consistent