Setting sizes of thumbnails for Stack correctly.