Change frequency as mouse moves.