add slider widget for integers