Thousands of Afghans gathered at the border to return home as Pakistan temporarily reopened two main crossings that had been closed last month after a wave of militant attacks Photograph: Muhammad Sajjad/AP