Update index.html

Adjusted the changing page buttons to their own JS functions.