Alternate methods to calc viewport

exploring different methods of calculating size of child windows