customPaging returns "undefined" instead of dot button