adds transition class, adds for anchors and article list images