formatting submenu for small screen breakpoint