Adding page navigations to views