fixes #9 UI pagination management