remove class inactive index when delete tab show