update css for slider