Added mobile view support for nested div elements in mega menus (#2009)