add page changed callback, remove page controller