fixing sliders, still need to fix the flash on first load