attempt to fix slider bugs