altered the css for transitions