improve panning