add animation, flinger, scroll related code