Mac flicker

Adds support for animate_flicker option.