Add option to not automatically hook window.resize
hookWindowResize -> handleWindowResize