Bug 1036843 - clear isPanning flag in callback of goToPage r=crdlc