added css for transitions