added the form and the jquery mobile event, swipe to move between pages