tweak DOM hierarchy for folder tree