before nav-tabs changes