def key_right(pos: int, page: int, page_len: int, pages: int, total_pkgs: int):
    """
    Scroll the package list further one page.

    :param pos: Current cursor position
    :param page: Current page
    :param page_len: Number of packages listed on a page
    :param pages: Total number of pages
    :param total_pkgs: Total number of packages
    :return: int(position), int(page)
    """
    if page == pages:
        pass
    else:
        if total_pkgs < page_len + (page_len * (page + 1)):
            page += 1
            pos = total_pkgs
        else:
            page += 1
            pos += page_len

    return pos, page