refactor RankingContext to return whether context has prev/next page
to show loading parts