transition the magnifier pseudo-element via opacity and a transition instead of by just hiding it.