fixes a scrolling issue with the thumbnail grid