disabling the current tab after click