footer improvements to layout and code tidy