adding slider to dropdown