Add styles and width calculation for Thumbnails UI thumbs.