Fix resizing of workspace to conform to parent element and have max width.
Merge pull request #160 from tobyk100/fix-scroll-bug

Fix resizing of workspace to conform to parent element and have max widt...