fix slider position