Updated the layout of the plots and added resizing to the canvas.