Update sample.html

Defined swipeDirection option