Adjusted the top and bottom of the interval of the header