fix slider css bug