adding dynamic slider