remove swinging when too close to the opponent net