refactoring ShadowView
fixed customize z-depth anim duration