I notice that the page that I was just viewing is still in the DOM. Is there a way to remove the last page viewed after I transition to the new page using changePage()?
Not exactly knowing your markup I am guessing you are triggering changePage()
manually. If that is the case, you could wire up one of the events listed here.
pageshow
Triggered on the page being shown, after its transition completes.
$('div').live('pageshow',function(event, ui){
$(ui.prevPage).remove();
});
Example on jsfiddle.