click a main menu item should set sub menu item to index 0