Update translate.js

fix bug in scroll button push