Improved thumbnail layout