Add backlight dimmer option

This is based on n5dim by @mzhou  https://github.com/mzhou/n5dim