Slide box in app with Side Menu holding on to Index state between views

When I navigate between two views that both use slide box the slide index state is pulled form the previous view so my next and previous buttons display incorrectly.

Essentially as I navigate to a new view with a side menu, the slideIndex is held from the previous view so the wrong side is highlighted.

this is my project on github