Easiest method would probably be to use Microsoft word 2013, as it is able to expand/collapse text under headings.
Another method could be to set up a simple html file with show/hide buttons, you would just need to open it up in a web browser.
Not sure about this 3rd option, but there is a sort of document creation programming language called LaTex (pronounced la tech) that might be useful. However, like I said before not sure if it has what your looking for as I've not used it much.