Layout of the MegaMenu is changed with the orientation property that accepts horizontal and vertical as options.