shifting html around. Pagination now works. Footer now works. Various fixes.