resize the framebuffer on resize