allow window resizing in opengl