tweaked the styles for pre so the image will fit on the screen
made a simple fix for the ratio issue
fixed merge conflict