add total chapters and ellipsis to chapter selection button