added fit container js and canvas element, fixed column offset missing