coded to highlight active tabs