adding dynamic type of pagination in settings file and called in views