LeaveStep event not fire after using "goToStep". This screenshot can help you: the i var should be 3 not 21. 