added responsiveness to thumbnails