added velocity update after hitting checkpoint