Updated the pager to act in a similar fashion to the existing one