adding slider and style