A framework for SurfaceView to easily handle animation.