made window resizable

changed the layout a bit. the Previewpanel, which will be later HTML
View is still to be made more appealing