Call viewWillDisappear and viewWillAppear when scrolling to and away from view controllers
Also call viewDidAppear and viewDidDisappear