Adds transition effect to primary navigation