toggle folder nodes open/closed

fixes #412