updated transition target to opacity instead of all