small fix for jquery mobile navigation problem

navigation within jquery mobile from Network Generator -> SIR model ->
Network generator could lead to a bug