add layer animation
modify for animate duration