Added transition feature to opacity