added onPageAppear
Merge pull request #4 from dottertrotter/master

added onPageAppear