update css behavior for slides container