support IOS tab bar can switch view with pan