added last page option to table panel