Add canvas resizing function; modify readme