improve panel minimization and enable it on navigation menu for users who can edit the UI