leave prev/next button behavior up to the initialization function