Add option to swipe through pages vertically

I added an option to swipe through the PDF's pages vertically instead of horizontally.