dynamically set the height of surfaceview to best fit camera preview aspect ratio