adding slider template