slider fix for firefox