initial slider work