checking to see if page change event is firing