added footers to all pages and fixed spacing issues