extracting header and footer to layout