added css transition