custom tab bar, allow hide and show tab bar