fix for incomplete tree view hiding issue

closes #77