Take advantage of viewWillDisapper() and viewWillAppear(), making the codes of PageContentController simpler.