track mouse position, always update direction