Made the width/height of the window variable