adjusted the size of the header panel