move footer to index file