parallax animation applied in onDraw method