handling of the secondary menu width