adding slider dependency