finished page title function