Hide or minimize folder tracks but show contents

I have a large template, with instrument sections organised into library folders, but when I use ‘Show all tracks with Data’, around half of my workspace is taken up by the folder tracks that the tracks with data reside in, which I really don’t want to see. I have to laboriously go to each folder track and minimise its height to gain space. It would be good to be able to minimise folder tracks, or hide the folder tracks, while leaving the contents of the folders on display.