optimize slider drag on firefox #12