Made the header and footer height dynamic