Fixed mobile menu to handle special menu structure identified in #2365