fix new paging
got template bootstrap ui working