display index as tree