Thousands displaced after fighting between government and Taliban