show current page(section) as a function