resilution update

implimented a virtual resalution and scaled it to the curent