Add the next and previous buttons to index.php