Fixed bug with transitions not applying to all links