Handle resize for openGL