better movementhandling
better eventhandling