changed grid manager pan prevention method to event param