corrected initialOrientation stuff