updated dimmer script to support +- increments