Allowed the user to resize canvases to fit.

Included a button on the panel for graphics replay that toggles whether canvases should be resized to fit in the display area.