Making that hacky gallery scalable is such a bitch