improve panning disregarding too small delta x or delta y