tweaking where next/prev appear