removed tab bar logic