add slider for bars