panning slider fix for firefox