added new resolutions and option to control scaling