add a ready class to the toolbar, fixes issue #1947