changed sizing to window.innerwidth and added an onresize event handler
start / stop method added