fix slider for firefox