add logic to ensure progress page is visible