fix slider upresponsive firefox bug