connect tab bar with other views