adjust glViewport on resize