add left and right class

able to click on separately