Implemented ImageLayer animation

I hadn't got the time to create a proper example, so I had to go with
this, which makes the game pretty much unplayable. But, hey, it works!