fixed title and footer alignments