menu resize minimized first part of fixes