Faster dropdown animation for publish button

Closes #4390

- Apply same animation timing from the nav bar dropdown to the publish button dropdown