Added scrolling functionality to tree view