Addapt resolution to screen