Change the thumbnails's layout