menubar panel resize