added device rotation support to the camera view