Simplified a lot the GmHeaderMenuDirective