fixed resizing of screens