Silly question but why does the print statement get printed multiple times when there is only 3 pages in the pageComponent? Also I only swiped to the second page
Not so sure but I think it's how many times you go from page to page. Because it's 3 pages it doesn't mean that the statement is going to be printed 3 times.
The onMove event is continuously called when the Page Component content moves. Each time "move" gets printed.
I think you might want to use pageScroller.on "change:currentPage", -> instead.
It prints on every change and you registered / setup the event three times.