Implement history
Adjust canvas size