Performance tuning:
1. adding code for obtaining method trace; uncomment to enable them
2. caching view during animation, which saving 50% of times for
inflating child views.