added twitter gallery card machinery