image rotation added to get correct orientation for CameraView