fix bug: initialize query for current displayed page.
- add _init() to build query with displayDuration defined when main() started.