Handle pan end

Update as review comments at
https://github.com/tmeshkova/mozilla-central/pull/35

Moved on top of embedlite_aurora_26.