Why are you going to remove the contents of the page after you have swiped it away? The <Each> block will create a new Page for every item in contentPages, so you can set different layouts and content for each page depending on your object.
If you want to go back to the “center” page (Page 1) after swiping to the other ones you would add <NavigateTo Target="Page1" /> after the Callback. Also, if that is indeed the case, I would suggest you do this with SwipeGesture instead of using Pages.
You will need to load the pages from Javascript as an Observable object and add a new page to it every time you swipe right by calling a javascript function, with <Callback Handler="..." /> exactly as you were doing in the first place.
<Javascript>
function Page(number) {
this.number = number;
}
var count = 0;
var pages = Observable();
function addNewPage() {
count += 1;
pages.add(new Page(count));
}
module.exports {
addNewPage : addNewPage,
pages : pages,
count : count
};
</Javascript>