[imp] Adding nested submenu functionality for top menu in protostar. Fixes #3966