fixing header and footer wrapping bug and working on massage page contents