issue #290 adjust width of window elements if window smaller than 800px (note, height isn't handled yet)