changed the stylesheet to handle missized images