Accommodating for portrait & landscape thumbnails in the grid view.