adding left right class