add slider control buttons and logit to swits the classes between them