Fixed mobile menu to handle special menu structure identified in #2365.
Merge pull request #2381 from pjackson28/fixmobilemenu

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