adding option to reverse slider values