Too many folders in thumbnails pane

To clear all folders in the thumbnails pane, hold the ALT key (OPT on Mac) and click the X on the left-most folder to close all at once.

You may want to un-check the box for Search Enclosed Folders in the Home pane under Preferences to help prevent this in the future.