fix screen resizing