replaced setDocumentHeight with flexbox layout
- fixed layout issues with text nodes using flexbox
- improve the look of text nodes
fixes to get other view objects working