fix finishTransition() should have a second parameter in noTransition fu...

...nction