Only fire onLegEnd callbacks if the leg is visible.

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