detect pan release gesture
bugfix: adjust coordinates of pan gesture
bugfix: detect pan release to update flipping page on which the page
calculation of the following flip is based.
Merge pull request #785 from chrox/flip_fix

bugfix: detect pan release to update flipping page
Merge pull request #786 from houqp/new_ui_code

add last documents history and fix wtest.lua