tweak window sizes so pages don't have scrollbars
refactoring of my approach to paging graphics