only show the properties tab when an item is selected.