display only the tabs which are used by the selected row

if multiple details are used
e.g. if two details have the same children the tabs would be shown twice
Merge pull request #195 from yacon/3.7_directoryMultipleDetails

display only the tabs which are used by the selected row