Fix #53 make slider work in Firefox