add CSS transition to title bar button