add pagination bar to application page