Improve Html.prev() and Html.next() and broken tests
one failing test