show and hide the root pages and their contents