levelstate updated for mouse movement