Implement page selection functionality