Prevented update when  no navigation
Prevented update when  no navigation

When animation stops rest gets set to true but React batches state updates so before it renders the Motion fires a set state and setDerivedStateFromProps gets called and resets rest. So only reset rest when really a result of navigation, not when just rerendering

grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation