call glViewport() when resize window
remove unnecessary space