change pushstate only after stop is knowingly