upd: use a single gallery controller for both views.