add x threshold for panning