Change direction when moving along track, see #77