5.2 magnitude quake jolts Swat, Malakand