LIB: Add ability to restrict card swipe direction. #233.
Updated the doc.