adding header and footer to view