creating header and footer views