added diagonal speed sensitive movement function to controls.js
moved to use diagonal speed sensitive function in game state module