moved event out of pagechange event