Revert brightness slider code