added the functionality of the controller detecting if the pagination has reached the end.
added the functionality of the controller detecting if the pagination has reached the end.

GeoMash/nutsNBolts,GeoMash/nutsNBolts,GeoMash/nutsNBolts