refactor UI responsive tabs, IOS switch