next button fix for all pages.