stop track at end and reset