preview pane css and js tweaks