fix the 100% height of the tree panel and preview panel