undoing last movement will also reset velocities
fixing stuff jslint complained about
Merge pull request #1 from fmobus/master

attempt at fixing shooting when stuck in boundary