Added different animations depending on the route