fixes issue with captioned images going off the page if they are wider than the screen resolution