Paging Control Update

Adjusting the refreshLayers function and adding in change events for the paging control.