adding slider fix