Some animation code was moved from seekbar activity to animationactivity