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

Fixes https://github.com/rfunduk/jquery-tourbus/issues/10.