add slider to tool bar