Implement tabBarController functionality.