got next/prev working