created a function to handle screen resize, now in glOrtho-mode