Update jquery.pageflip.js: add transitionend listener on each page instead of its container