added close function in page.py (this will show the footer)