Fixed problem with slider on firefox