Updated logic for sub menu

removed metismenu