make images responsive under bootstrap themes

Addresses https://github.com/rstudio/rmarkdown/issues/332