add example to animate the size of the NavigationBarItem