cleanup button and slider batch and group handling