Added resizing even handling for glfw.

See title.