Added width,height,scroll to tree container and removed unused code