modifications about different screen resolutions