controlling max width of the preview