added accelerometer movement alerting