fixed preview from cutting off, also upped the max width of preview to 40% of the window.