Handle pan end

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