First batch of moving filters to new animation framework

Here's 2 filters moved to animation framework with clean-ups and a clean-up on "invert". It should all be quite straight forward.

I'll do another patch next week, maybe something like 4-5 filters is a good patch size if this looks okay.