Improve styling in details view.

Un-highlight last selection when switching tabs if there are two admin bodies.
Hide divider line below link if it is missing, and also hide link section
if there are none.