adding a transition effect for tabs