Added support for sub menu page switching