move isRecording to  to control both position and accel recording
add watch to isRecording
bugfix: use js object, not Array() to store segments