fixed slider buttons and firefox crash