added swipe funcctionality

you can now swipe right on pages to go back