Added accelerometer based movement