create new classes for views
move 'stopAnimation' execution in more appropriate place