Added hack to put gallery on text page