adding style on click