making corresponding css change