added css transition on buttons