make slider initializer work