Documentation: Added table of contents to download page
Demos: Optimized view code areas in working examples
Merge pull request #5744 from pjackson28/optimizeviewcode

Documentatation and demos: Added table of contents to download page and optimized view code areas in working examples