Add dirtree-toggle function