Update controller.js

accel frequence set to 20 ms