Dim the lights - now with animations

The dim the lights feature looked a little too sudden, and since the source code is available... :)