add props for page indicator