[#30142] Add optional class param to accordion slider (Fix #731)