 
 	- parameter fromContentController: The current content controller which should be replaced
 	- parameter toContentController: The new content controller which should be displayed
-	*/
-	private func replaceContentController(fromContentController fromContentController: UIViewController, toContentController: UIViewController) {
+	- parameter isReused: A `Bool` which indicates whether the view controller is reused
+	*/
+	private func replaceContentController(fromContentController fromContentController: UIViewController, toContentController: UIViewController, isReused: Bool) {
 		Log("Replace content controller: \(fromContentController) with content controller \(toContentController)")
 
 		// Update the layout from the new content controller to match the current frame

			// Check whether there is already a current content controler
			if let _currentContentController = self.currentContentController {
				// If there is a current content controller we can replace the content controller directly
				self.replaceContentController(fromContentController: _currentContentController, toContentController: segue.destinationViewController)
			} else {
				// If there isn't a current controller we have to add it as child and add the view
				self.addChildViewController(segue.destinationViewController)

					self.embedContentControllers.removeAtIndex(_index)
			}
			// Complete the adding of the new content controller
			self.triggerDidMoveToParentViewControllerIfNeeded(toContentController, isReused: isReused)
			// Remove the old content controller as the animation is completed
			fromContentController.removeFromParentViewController()
			// Update the transition state flag
			self.isPerformingTransition = false
		}
	}

	func triggerDidMoveToParentViewControllerIfNeeded(toContentController: UIViewController, isReused: Bool) {
		if let _navigationController = toContentController as? UINavigationController {
			// If the view isn't reused we don't need to do anything here as the navigation controller will trigger the didMoveToParentViewController method itself
			if (isReused == true) {
				_navigationController.childViewControllers.first?.didMoveToParentViewController(self)
			}
		} else {
			// As the destination isn't a UINavigationController we need to call the method manually
			toContentController.didMoveToParentViewController(self)
		}
	}
}
