Adding calculateTargetTabBarItemAtPosition(position: CGFloat, height: CGFloat) -> Int to calculate the 'target' selected item