removed fade transitions and added a function that would update the active state of the bottom tab