fixing thumbnails for mobile browsers