set max-width for images in a figure to 100% avoids scrollbars with big images