change viewport of the tree view