add tree menu to base.html