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