base functionality: controlling mouse move