Working on smoother transitions between tabs