Add a tree widget for navigation