improved the camera preview