Window resize event handler
Use dev library for now