rewrote overscan calibration