set slider trigered on button