PNG Animation class for controlling animations