added nextPath to the controller to step through posts