added multi resolution support, with a minimum of 1280x800