fixed slider bugs