added resizee support for canvas and changed some styles
linted