fixed orientationchange for 180 degrees