flip flop slider that results in a change based in the JS.