Next page

add function to the next button