Thousands of displaced Palestinians are making their way to their homes in the north of the territory.