implemented page indicator