move rendering to SurfaceView