added exceptions
abstracted swipe code
converting json book to javscript
going js way
working on defining custom event handler
got working page swipe, need to hook in the custom handler
got successful custom swipe function