Updated DrawPagination, added params support