initialized slider