Added accelerometer to visualizer