change slider safari + firefox