added auto screen adjust for every 5 seconds