made it so marker snaps back onto endMarker when reaching it