Added menu auto-resize