First version of working animations
Move animation type selection out of region
Updates to the animations
Clean up all the debug and useless code
Fix old content not animated sometimes bug

After regular view render, the old content did not
have position: relative, without which the element can
not be moved.
Add onRender function to service tree
Close old views after render