move initialization of sliders into config onload event to initialize the settings.