improvement getItemPath for TabPanel