Magnitude 5.3 quake jolts northern Pakistan