Add resize logic for screen resolutions