Fixing up header and footer view.