add Page x of y to open_ui (todo: rewrite entire thing ...)