added line in CSS so the transitions are smoother