Fix slider bugs.