When moving by keyboard, location hash is updated. When moving by mouse, the normal move function is used.