5.2 magnitude earthquake jolts parts of KP, Islamabad