Replace step function with ternary
Change return type of stopTween