added support for nested ul in dropdowns