Working without FBO. Needs retouching.
Missing HORIZONTAL and VERTICAL animations.
Quite nasty, but it works.