Add left/right class to connected labels