Added screen resizing.