add tree button to seperate view