added css transition for all browsers