thumbnails now display in proper orientation