Work on initializing slider