Minor changes
simple, clean and clear way for switching resolution