replace tabbar with buttons and reconfigure the positions