Header now minifies when user scrolls more than its height | Added window listeners | Moved resize event to canvas-helper