Worked on webpage. Still doesn't resize bottom-right panel correctly (creates scrollbar, at least at 1920x1080 resolution).