no longer rotating the image windows, instead rotating the histogram