changes to css transition
more detailed description