Now follows the spec for init and forces resize when the gallery inits