i think this should do it, assuming you have id="swipe" in both 1.html, and 2.html.
// ------------
// 1.html.
// ------------
$("#swipe").bind("swipeleft",function(event) {
$("#div").load( "2.html");
});
// ------------
// 2.html.
// ------------
$("#swipe").bind("swiperight",function(event) {
$("#div").load( "1.html");
});