Work on next/prev buttons for detail records in search results