Deal index page and show page changes