The idea of looking for highlights 1 page before and after was not working when you have multiple small pages, and some scroll mode view was actually showing 3 or 4 pages. So, rework that by using absolute positions when looking for highlights present in the scrolled view.