fix spec to adapt current page, if total pages < current page
add reversed order for pagination (to be cleaned up)