fix for hiding the folder list when all sections are collapsed