Only fire onLegEnd callbacks if the leg is visible.
Merge pull request #13 from joshuajabbour/10-onLegEnd-multiple

Only fire onLegEnd callbacks if the leg is visible [PR].