cleaned get_view_pageinfo() in arrowkey_navigation/main.php