fixing control panel header and footer alignment