index view uses ivar to keep track of page