small bugfix
always update velocity
update main.js