Fixed the submenu to work in mobile