Change the image animator class to allow non-linear slider axes

This allows the optional specification of an arbitrary array of values for each slider. This also makes a small and irrelevant change to the `BaseFuncAnimator` that makes this possible but does not change the current behaviour.
This indentation looks way tooo much...