clean animation code in inner class
make animation listener class
clean code