Build gallery-sm-menu.