modify screen size for smaller screen