make viewer view controller load from nib
handle device orientation changes for CameraLayer