improved layout with thumbnails