hack for inverting sliders