To make the thumbnail grid resize with the page, you will need to override the existing styles. You should not set the height and width in the short code. Instead, you should use custom css to override the current styles. I overrode the styles for this post specifically by creating a div with a class