adding onNavigation event in options, if set as a function with one argument, it is triggered everytime a step is navigated to. Argument is new step number