improved waking on edges after jumping

now takes desired movement direction into account
therefore walking on edges works also sidewards and backwards
slightly decreased walking speed and jumping impulse