sets the maximum supported screen resolution