Is there any way to unify this `duration` and the one from `showTabBar`?