add screen detection config