device rotation and making result view