changing tab view behaviour