adding dimmer widget

Take a look and see how you feel about the code. If you see a way to simplify or clean it up a bit let me know.