handle sub menu click