Bind window.resize event to on(resize)
Bind window.resize event to on(resize)