fix nextPage not calling onappear