add page counting in touchmenu & bug fix for sub_item_table