added a stop to the gotoimmediate if the nav was moving