ticket:4 fix visibility of next/prev button, add sorting indicator