switch resolution only if new and current values are different