Added ability to show/hide pages from menu.