[Improvement?] World outliner selection and details/world settings

What if when you selected the root level the details / world settings tab switched to world settings (No details appear at the moment).

And then if you select an element in the level it automatically switched to the details tab?