Added a zoom variable in ControlPanel to reset the zoomFactor to 1 when the revert to original button is pressed.